import Vue from 'vue'
import Vuex from 'vuex'
import counter from './modules/counter'
import getters from './getters'

Vue.use(Vuex)

const modules = {
  counter
}

const store = new Vuex.Store({
  modules: modules,
  getters
})

export default store
